package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName t_berth
 */
@TableName(value ="t_berth")
@Data
public class Berth implements Serializable {
    /**
<<<<<<< HEAD
     *雪花id
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    /**
     *
     */
    private String berthCode;

    /**
<<<<<<< HEAD
     *泊位名称
=======
     *
>>>>>>> 03c8133aa1cd44bfb8b58e0536f68b36098e3e83
     */
    private String berthName;

    /**
<<<<<<< HEAD
     *泊位状态  0--有车   1--无车   2--未激活
=======
     *
>>>>>>> 03c8133aa1cd44bfb8b58e0536f68b36098e3e83
     */
    private String berthType;

    /**
<<<<<<< HEAD
     *路段id
=======
     *
>>>>>>> 03c8133aa1cd44bfb8b58e0536f68b36098e3e83
     */
    private String roadId;

    /**
<<<<<<< HEAD
     *创建时间
     */
    @TableField(fill = FieldFill.INSERT)

    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     *逻辑删除  1（true）已删除， 0（false）未删除
     */
    @TableLogic
    private String isDeleted;

    /**
     *
     */
    private String carId;

    private String spare2;

    /**
     *
     */
    private String spare3;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
